package cn.neusoft.mapper;

import cn.neusoft.domain.Warehouse;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface WarehouseMapper {
    public int insert(Warehouse warehouse);

    public int deleteByName(String Name);
    public Warehouse findByID(int id);

    public List<Warehouse> getAll();
    public int update(Warehouse warehouse);
    public Warehouse findByName(String name);
    public int deleteByIdInt(int id);
}
